package com.chinafree.permission.service;

import java.util.Map;
import java.util.Optional;
import java.util.Set;

/**
 * @description: TODO
 * @author: longzix
 * @modified By: longzix
 * @date: Created in 2021/7/27 16:59
 * @version:v1.0
 */

public interface PathServie {

    Optional<Map<String, Set<Integer>>> getAllPathWithPermission();

    boolean hasPermission(String userId,String path,String method);
    void saveAllPathTORedis();
    String getPathInfo(String uid,String path,String method);
}
